home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1996 April / Macworld (1996-04).dmg / Shareware World / Entertainment / Card Games / Card Shell vol.1 / The Republic / The Republic.rsrc / TEXT_128.txt < prev    next >
Text File  |  1992-09-26  |  12KB  |  231 lines

  1. ‚ÄòThe Republic‚Äô. ¬© 1992 Ralph S. Sutherland
  2. Game #1 from the Card Shell.            v1.0.1
  3.  
  4. Contents:
  5. Apocryphal background
  6. The Aim
  7. The Deck
  8. The Layout and Deal
  9. Moves
  10. Special moves
  11. Sequences
  12. Endgame/Redeals
  13. Scoring
  14. Strategies
  15. Cool features of the Card Shell games
  16. Artwork
  17. Legal Bits
  18. Credits
  19.  
  20. Apocryphal background
  21. Napoleon Bonaparte, one-time French Emperor has had more solitaire games
  22. attributed to him than any other person in history. +Àõever it appears that 
  23. he was in fact unlikely to have been a very patient card player, one perso*Runt of a case where Napoleon miss-dealt in a social game goes:
  24.  
  25. "...I could not have conceived that so trifling an accident could have affected
  26. any human creature so seriously - his whole countenance was lighted up with
  27. fury, and he made a violent contortion of his features, and drew down his 
  28. mouth on one side, like one suffering an inward pang."
  29.  
  30. ‚ÄòThe Republic‚Äô is based on one of the Bonaparte games called 'The Emperor', which
  31. may have been devised by one of Napoleon‚Äôs men, Las Cases.   The computer version
  32. allows variations in the sequence matching rules and changes the way the Talon pile
  33. is used in the endgame.  A scoring system has been devised to allow comparison of
  34. games, and games may be saved and then played by other played so a competition
  35. could be formed.
  36.  
  37. The Aim
  38. The aim is to simply build up the eight foundations from Aces to Kings, each in
  39. strict suit order.
  40.  
  41. The Deck
  42. A deck of 104 cards is used, comprising of two normal 52 card decks.  Solitaire
  43. decks like this often have complementary but distinctive back patterns.   The user
  44. can choose card back patterns using the Special menu.  The background pattern
  45. may also be selected from a list of patterns.
  46.  
  47. The Layout and Deal
  48. ‚Ä¢Ten columns of three cards are dealt face down, these are the 'packets'.
  49. beneath these, ten columns of one card are dealt face up, these are the beginnings
  50. of the 'columns' of the tableau. 
  51. ‚Ä¢The remaining cards for the 'stock' and are placed face down in  a single pile in the
  52. upper left corner.  Immediately adjacent to the stock is the space for the waste cards
  53.  or 'talon'.  There are eight 'foundation' spaces that are built on with Aces up to
  54. Kings (in suit) as the cards become available during the game.
  55. ‚Ä¢All this is achieved using the New Game item (‚åòN) on the File menu.
  56.  
  57. Moves
  58. ‚Ä¢Only one card may be moved at a time.  However, any card may be placed in an
  59. empty column once the packet above has also been cleared,  this forms a 'vacancy'.
  60. By using vacancies whole sequences may be moved.  The length of sequence that
  61. may be move is limited by the number of vacancies and whether the sequence is
  62. being moved to another column or into a vacancy. i.e.:
  63.  
  64.                Moving onto another column:
  65.                 1 vacancy   - can move 2 cards at a time.
  66.                 2 vacancies - can move 4 cards at a time.
  67.                 3 vacancies - can move 8 cards at a time.
  68.                      and so on for more vacancies...
  69.                 ( for the math inclined you can move 2^n cards
  70.                                       where n is the number of vacancies)
  71.  
  72.               Moving into a vacancy:
  73.                 1 vacancy   - can move 1 card at a time.
  74.                 2 vacancies - can move 2 cards at a time.
  75.                 3 vacancies - can move 4 cards at a time.
  76.                      and so on for more vacancies...
  77.                 ( for the math inclined you can move 2^(n-1) cards)
  78.  
  79. ‚Ä¢Cards may be moved between columns according to the sequence matching rules
  80. in force.(see below)
  81. ‚Ä¢Cards may be built up on the foundations at any time.  The foundations are built
  82. from Aces up to Kings in strict suit.
  83. ‚Ä¢Cards from the foundations may be played back onto the tableau if desired.
  84. ‚Ä¢Cards are turned up one at a time from the stock at any time.  The exposed card
  85. may be played onto the tableau or foundations.  If no move is possible for the card
  86. the card is played onto the talon.  This will be evaluated automatically by the
  87. computer so that if no move is possible with the exposed card it will move to the
  88. talon automatically.  The converse implies that if the exposed card does not immed-
  89. iately move then some play is possible with the card.  The player may manually
  90. move the card to the talon and not play it.
  91. ‚Ä¢The top card of the talon is playable, and it may be dragged at any time to reveal 
  92. next card underneath.
  93. ‚Ä¢When a column has been cleared then the top card in the associated packet is
  94. exposed.  This is then available for play to other columns or foundations.
  95. ‚Ä¢A cleared column only becomes a vacancy (see above) once the packet above it has
  96. also been cleared.  The last card exposed in a packet will be moved into the cleared
  97. column below.
  98.  
  99. Special moves
  100. ‚Ä¢Each move made is recorded by the computer.  Using the Moves menu the player
  101. can step back through previous steps and forward again to the most recent move.
  102. This means that an erroneous move can be undone.  In fact the entire game can be 
  103. replayed.  Since 'The Republic' has hidden cards this has the potential to permit
  104. cheating peeks at hidden cards.  While non-revealing use of the Forward (‚åòF) 
  105. and Backward (‚åòB) is permitted under the rules,  it left to the conscience of
  106. the player whether to use it to peek at unexposed cards or not.  I think this kind of
  107. restraint is an essential feature of 'real' Solitaire games, so, you can cheat, but
  108. you have serious problems if you persist in cheating yourself like this.
  109. ‚Ä¢An automatic layoff option (‚åòL) can be used to check for all possible layoffs from
  110. exposed packets and columns.  It doesn't check the stock or talon.  It may be used
  111. at any time and can save a lot of mousing around at the end of the game.
  112. ‚Ä¢Holding down the shift key while clicking on a card will test it for layoff onto
  113. a foundation.
  114. ‚Ä¢Clicking on the empty stock will redeal the talon if the redeal is allowed under the
  115. matching rules in force.
  116.  
  117. Sequences
  118. ‚Ä¢Sequences in columns may be built up according to the rule currently in force.  The
  119. rules may be selected using the Moves menu with the Sequences‚Ķ item. 
  120. ‚Ä¢The standard rule says that sequences are built in descending rank sequences of 
  121. alternating colour.  This may be changed to be simple descending rank, regardless
  122. of suit, or descending sequence in the some suit only.   The choice of matching rule
  123. affects the way the talon is handled in the endgame.(see below)
  124. ‚Ä¢In general the simple rank rule is easiest and the strict suit rule is hardest.
  125.  
  126. Endgame/Redeals
  127. ‚Ä¢With the simple descending rank rule in force, no redeals of the talon are allowed.
  128. once the stock is exhausted, play may only continue using the talon, foundations
  129. and movement within the tableau.
  130. ‚Ä¢With the alternating colour descending rank rule in force, the talon may be reused
  131. once.   Once the stock is exhausted, the talon may be redealt using the Re-Deal
  132. item on the Moves menu (‚åòD).  After the redeals the menu item remains disabled.
  133. ‚Ä¢With the strict suit descending rank rule in force, the talon may be redealt as often
  134. as desired.
  135. ‚Ä¢The talon can also be redealt by clicking in the empty stock.
  136. ‚Ä¢The game is lost if no further foundation layoffs are possible.  Scoring is done
  137. after choosing New Game (‚åòN)from the File menu, before the new game is
  138. dealt.
  139.  
  140. Scoring
  141. The scoring is a points system that depends on the rules in use for a given game
  142. according to the following table:
  143.  
  144.                Rule                                       Win             Loss
  145.                Match any suit                         1pt        -4pt
  146.                Match alternating colour          2pt        -2pt
  147.                              Match same suit only               4pt        -1pt
  148.  
  149. The scores are recorded along with some other statistics such as winning/losing
  150. streaks and game move counts.  Overall points and winning percentages as well
  151. as a breakdown by rule type is given at the end of each game and at any other time
  152. using Scores‚Ķ from the Special menu.
  153. ‚Ä¢Bonus points may be scored if no redeals are used with the alternating colour
  154. rule or less than  two redeals are used with the same suit rule.
  155.  
  156. Strategies
  157. ‚Ä¢Don't build up columns indiscriminately, vacancies are the key to the successful 
  158. completion of a game.  This is particularly true with the two harder rule sets.
  159. ‚Ä¢Beginners may like to use the simple descending rank matching rule.
  160. ‚Ä¢In the simple game, try not to let low ranking cards go into the talon.  On the other
  161. hand, a few vacancies can allow mass layoffs and the talon can be emptied quite 
  162. quickly.
  163.  
  164. Cool features of the Card Shell games
  165. ‚Ä¢Automatic saving means that you can quit at any time and when you restart
  166. the game is restored as it was left off.
  167. ‚Ä¢All the games from the card shell can simultaneously share the same 'Cards' file.
  168. This contains the sounds and cards pictures.  This saves duplicating ~400k of
  169. common data for each new game.  The games themselves come out about 50k each.
  170. ‚Ä¢The very first time a Card Shell game is started, it looks for the Cards file in the
  171. same folder as the game.  If it cannot find it the user is prompted to find it.  Once 
  172. found its location is recorded along with identification and search info. so that
  173. the 'Cards' file can subsequently be moved anywhere else on the disk and still be
  174. found.
  175. ‚Ä¢The card graphics have be optimised to work equally well on B&W monitor settings
  176. as well as 4,16,256,thousands and millions of colours.  The layout will fit (just) on
  177. the small 9" monitor of an SE/30, and on larger screens the window can be moved 
  178. anywhere on a multiple monitor set-up.
  179.  
  180. Artwork
  181. ‚Ä¢The court cards are quite symbolic.  I have included motifs of the original
  182. card suits: Staffs, Cups, Swords and Coins on their modern counterparts:Spades
  183. Hearts, Diamonds and Clubs.  This means that I have moved the characteristic
  184. 'oops I've just stuck a sword though my head!' from the King of Hearts to the
  185. King of Diamonds, and given the King of Hearts a nice drink (cup) instead.
  186. ‚Ä¢The  other common convention in the court cards is the identities of the 
  187. one eyed cards: Jack Hearts, Jack Diamonds and King of Diamonds.  This will 
  188. permit the playing of some obscure Poker variants that actually depend on this.
  189. ‚Ä¢The cards are in the form of colour icons in the 'Cards' file.  The cicns 
  190. also contain modified B&W versions that will look better in mono than just letting 
  191. quickdraw do it's stuff.
  192.  
  193. Legal Bits
  194. ¬©1992 Ralph S. Sutherland.
  195. Written with THINK Pascal,  ResEdit and MPW Pascal & Asm.
  196. Portions ¬© Symantec Corp.
  197.  
  198. This software is freeware, it may not be sold or resold.
  199.  
  200. If you enjoy it send a postcard from your home town, or drop an email
  201. note to let me know what you think!
  202.  
  203. Source code for THINK Pascal 4.0 and MPW Pascal/Asm is available for
  204. US $50 which includes licence to use the code to make and distribute 
  205. freeware and/or shareware applications that depend in essence on this code
  206. as long as suitable credit is given for the origins of the code.
  207.  
  208. For commercial usage please contact me for negotiations. 
  209.  
  210. Please make postal orders and Bank Drafts payable to:
  211.  
  212. Ralph S. Sutherland
  213. #9 Mt. Stromlo Observatory
  214. Private Bag Weston P.O.
  215. A.C.T. 2611
  216. AUSTRALIA.
  217.  
  218. Personal cheques and credit cards NOT accepted.
  219.  
  220. Email address:
  221. ralph@merlin.anu.edu.au
  222. Voice:
  223. (06) 2880492  (Australia AEST after hours)
  224.  
  225. Credits
  226. Special thanks to Neville Smythe for brave and dedicated Alpha testing and
  227. Kim Holburn through the turbulent Beta stages as well.
  228. Artwork with Colour MacCheese, thanks to Baseline and the MacCheese gang.
  229. Help Text with Imaj from the Data Suite.
  230.  
  231.